package com.lin.zoo.po;

public class Activity {
    private int id;
    private String introduce;
    private int parkId;
    private String starttime;
    private String endtime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public int getParkId() {
        return parkId;
    }

    public void setParkId(int parkId) {
        this.parkId = parkId;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    public Activity(String introduce, String starttime, String endtime) {
        this.introduce = introduce;
        this.starttime = starttime;
        this.endtime = endtime;
    }

    @Override
    public String toString() {
        return "\n园区介绍:" + introduce +"\n开始时间:" + starttime + "\n结束时间:" + endtime+"\n\n" ;
    }
}
